<?php
/*
 * Created on May 13, 2009
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 $func = $this->uri->segment(3,'view');
 $active_create = '';
 $active_view = '';
 switch ($func){
 	case 'create' :	$active_create = 'adm_selected'; break;
	case 'view' :	$active_view = 'adm_selected'; break;
	case 'save' :	$active_create = 'adm_selected'; break;
	default : $active_view = 'adm_selected';
 }
?>

<div class="title_01">XUẤT XỨ SẢN PHẨM</div>
<div class="box_function">
<div class="title_function">
<img src="<?php echo base_url('images/add.gif')?>" align="absmiddle" /> 
<a class="<?php echo $active_view?>" href="<?php echo site_url('admin/sources/view')?>">View</a></div>

<div class="title_function">
<img src="<?php echo base_url()?>images/add.gif" align="absmiddle" /> 
<a class="<?php echo $active_create?>" href="<?php echo site_url('admin/sources/create')?>">Add a new source</a>
</div>
